package com.zangs.emqx_expand.system.service;

import java.util.List;
import com.zangs.emqx_expand.system.domain.AppUserApi;

/**
 * 密钥Api关联Service接口
 * 
 *
 * @since 2025-01-22
 */
public interface IAppUserApiService 
{
    /**
     * 查询密钥Api关联
     * 
     * @param appUserId 密钥Api关联主键
     * @return 密钥Api关联
     */
    public AppUserApi selectAppUserApiByAppUserId(Long appUserId);

    /**
     * 查询密钥Api关联列表
     * 
     * @param appUserApi 密钥Api关联
     * @return 密钥Api关联集合
     */
    public List<AppUserApi> selectAppUserApiList(AppUserApi appUserApi);

    /**
     * 新增密钥Api关联
     * 
     * @param appUserApi 密钥Api关联
     * @return 结果
     */
    public int insertAppUserApi(AppUserApi appUserApi);

    /**
     * 修改密钥Api关联
     * 
     * @param appUserApi 密钥Api关联
     * @return 结果
     */
    public int updateAppUserApi(AppUserApi appUserApi);

    /**
     * 批量删除密钥Api关联
     * 
     * @param appUserIds 需要删除的密钥Api关联主键集合
     * @return 结果
     */
    public int deleteAppUserApiByAppUserIds(Long[] appUserIds);

    /**
     * 删除密钥Api关联信息
     * 
     * @param appUserId 密钥Api关联主键
     * @return 结果
     */
    public int deleteAppUserApiByAppUserId(Long appUserId);
}
